<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>field_all_record</title>
<link rel="stylesheet" href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.js"></script>
<script src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<style type="text/css">
body{
	background-color:#FFFFE0;
}
	#main_content{
		margin:0 auto;
		padding-top:30px;
		margin-top:50px;		
		width:400px;
		height:470px;
		border:1px solid #AEEEEE;
		background-color:#FAFAFA;
	}
</style>
<body>
<%@include file = "../../navigationBar.jsp" %> 


<div id="main_content">
	<form class="form-horizontal" role="form" action="field_save" method="post">
		  <div class="form-group">
		    <label for="fieldName" class="col-sm-3 control-label">场地名称</label>
		    <div class="col-sm-9">
		      <s:textfield name="field.field_name"/>
		    </div>
		  </div>
		  <div class="form-group">
		    <label for="fieldType" class="col-sm-3 control-label">场地类型</label>
		    <div class="col-sm-9">
		      <s:select list="{'篮球场','足球场','羽毛球场','棒球场'}" name="field.field_type" />
		    </div>
		  </div>
		  <div class="form-group">
		    <label for="fieldSize" class="col-sm-3 control-label">场地大小</label>
		    <div class="col-sm-9">
		      <s:select list="{'25','43','54','69'}" name="field.field_size"></s:select>
		    </div>
		  </div>
		  <div class="form-group">
		    <label for="fieldPeople" class="col-sm-3 control-label">人数上限</label>
		    <div class="col-sm-9">
		      <s:select list="{'20','30','50','100'}" name="field.field_people"></s:select>
		    </div>
		  </div>
		  <div class="form-group">
		  	<div class="col-sm-3"></div>
		    <div class="col-sm-9">
		      <input type="submit" value="添加场地"/>
		    </div>
		  </div>
	</form>
</div>
</body>
</html>